package com.cheyunkeji.er.bean.evaluate;

import com.cheyunkeji.er.view.evaluate.wheel_selector.InfoData;

import java.io.Serializable;

/**
 * Created by Michael on 2017/6/11 22:27.
 */

public class CarInfo {


    /**
     * 全面评估--车辆品牌
     */
    public static class CarBrand extends InfoData implements Serializable {

        public CarBrand(String id, String title, String fletter) {
            this.id = id;
            this.title = title;
            this.fletter = fletter;
        }

        /**
         * id : 33
         * title : 奥迪
         * fletter : A
         */

        private String id;
        private String title;
        private String fletter;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getFletter() {
            return fletter;
        }

        public void setFletter(String fletter) {
            this.fletter = fletter;
        }

        @Override
        public String toString() {
            return "CarBrand{" +
                    "id='" + id + '\'' +
                    ", title='" + title + '\'' +
                    ", fletter='" + fletter + '\'' +
                    '}';
        }
    }


    /**
     * 全面评估--车型
     */
    public static class CarModel extends InfoData implements Serializable {

        public CarModel(String id, String title) {
            this.id = id;
            this.title = title;
        }

        /**
         * id : 3170
         * title : 奥迪A3
         */

        private String id;
        private String title;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        @Override
        public String toString() {
            return "CarModel{" +
                    "id='" + id + '\'' +
                    ", title='" + title + '\'' +
                    '}';
        }
    }

    public static  class CarUseType extends InfoData {
        private String id;
        private String title;

        public CarUseType(String id, String title) {
            this.id = id;
            this.title = title;
        }

        @Override
        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        @Override
        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }


    /**
     * 全面评估--车系
     */
    public static class CarSeries extends InfoData implements Serializable{

        public CarSeries(String id, String title) {
            this.id = id;
            this.title = title;
        }

        /**
         * id : 26
         * title : 2015款 Sportback 40 TFSI 自动舒适型
         */

        private String id;
        private String title;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        @Override
        public String toString() {
            return "CarSeries{" +
                    "id='" + id + '\'' +
                    ", title='" + title + '\'' +
                    '}';
        }
    }


    /**
     * 生产厂家
     */
    public static class CarManufactory extends InfoData implements Serializable {

        private String id ;
        private String title ;

        public CarManufactory(String id, String title) {
            this.id = id;
            this.title = title;
        }

        @Override
        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        @Override
        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }


    /**
     * 车座位数
     */
    public static class CarSeats extends InfoData {

        public CarSeats(String codekey, String mark) {
            this.codekey = codekey;
            this.mark = mark;
        }

        /**
         * id : 129
         * codekey : seats
         * title : 4
         * mark : 座位数
         */

        private String codekey;
        private String mark;

        public String getCodekey() {
            return codekey;
        }

        public void setCodekey(String codekey) {
            this.codekey = codekey;
        }

        public String getMark() {
            return mark;
        }

        public void setMark(String mark) {
            this.mark = mark;
        }

    }



    /**
     * 车源城市
     */
    public static class CarSourceCity extends InfoData implements Serializable{

        /**
         * id : 368
         * name : 丰都县
         * level : 2
         * upid : 22
         */

        private String id;
        private String name;
        private String level;
        private String upid;
        private String letter ;

        public CarSourceCity(String id, String name, String level, String upid) {
            this.id = id;
            this.name = name;
            this.level = level;
            this.upid = upid;
        }

        @Override
        public String getTitle() {
            return getName() ;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public String getUpid() {
            return upid;
        }

        public void setUpid(String upid) {
            this.upid = upid;
        }

        public String getLetter() {
            return letter;
        }
        public void setLetter(String letter) {
            this.letter = letter;
        }

        @Override
        public String toString() {
            return "CarSourceCity{" +
                    "id='" + id + '\'' +
                    ", name='" + name + '\'' +
                    ", level='" + level + '\'' +
                    ", upid='" + upid + '\'' +
                    ", letter='" + letter + '\'' +
                    '}';
        }
    }


}
